﻿// -------------------------------------------------------------------------
//    @FileName         :    NFActivityEightModule.h
//    @Author           :    Gao.Yi
//    @Date             :    2025-09-09
//    @Email			:    445267987@qq.com
//    @Module           :    NFActivityEightModule
//    @Desc             :
//
// -------------------------------------------------------------------------

#pragma once

#include "NFComm/NFCore/NFPlatform.h"
#include "NFLogicCommon/NFMMODynamicModule.h"
#include "NFLogicDynamicModule.h"

class NFActivityEightModule : public NFLogicDynamicModule
{
public:
    explicit NFActivityEightModule(NFIPluginManager* p);

    ~NFActivityEightModule() override;

public:
    // 虚函数，用于初始化对象
    int Awake() override;

    // 处理客户端消息的虚函数
    // @param packet 消息包，包含客户端发送的数据
    // @param pSession 会话指针，用于识别客户端
    // @param req 解析后的请求消息
    int OnHandleClientMessage(NFDataPackage& packet, NFSession* pSession, const proto_ff::Proto_CSReq& req) override;
public:
    int OnHandleActivityEightGetDataReq(NFDataPackage& packet, NFSession* pSession, const proto_ff::Proto_CSReq& req);
    int OnHandleActivityEightGetRewardReq(NFDataPackage& packet, NFSession* pSession, const proto_ff::Proto_CSReq& req);
};